package com.hyq.market.ui.goodsDetail;

import android.support.annotation.NonNull;

import com.hannesdorfmann.mosby.mvp.MvpPresenter;
import com.hyq.market.R;
import com.hyq.market.base.AbsAct;

/**
 * Created by Administrator on 2017/7/21 0021.
 */

public class GoodsDetail extends AbsAct{
    PersenterGoodDetail presenter;

    @Override
    protected int getLayoutId() {
        return R.layout.act_goods_detail;
    }

    @Override
    protected void initEvent() {
        presenter.getData(null);
    }

    @NonNull
    @Override
    public MvpPresenter createPresenter() {
        presenter=new PersenterGoodDetail();
        return presenter;
    }
}
